#============================================================
#	Item
#============================================================
# @datetime: 2022-5-3 15:54:05
#============================================================
tool
extends HBoxContainer
class_name _CodeEditor_Scene_TextItem


onready var _line_edit := get_node("LineEdit") as LineEdit


#============================================================
#   Set/Get
#============================================================
func get_text() -> String:
	if _line_edit:
		return _line_edit.text
	return ""

func get_line_edit() -> LineEdit:
	return _line_edit

func _on_RemoveButton_pressed():
	queue_free()
